package com.yidu.best.basicSetup.trusteeset.domain;

import java.io.Serializable;

public class Trustee implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 5355279438074507075L;
	//托管人Id
	private String trusteeId;
	//托管人名
	private String trusteeName;
	//托管费
	private Float  trusteeFee;
	//描述
	private String description;
	
	/**
	 * 空的构造方法
	 */
	public Trustee() {
		
		
	}

	public Trustee(String trusteeId, String trusteeName, Float trusteeFee, String description) {
		super();
		this.trusteeId = trusteeId;
		this.trusteeName = trusteeName;
		this.trusteeFee = trusteeFee;
		this.description = description;
	}

	public String getTrusteeId() {
		return trusteeId;
	}

	public void setTrusteeId(String trusteeId) {
		this.trusteeId = trusteeId;
	}

	public String getTrusteeName() {
		return trusteeName;
	}

	public void setTrusteeName(String trusteeName) {
		this.trusteeName = trusteeName;
	}

	public Float getTrusteeFee() {
		return trusteeFee;
	}

	public void setTrusteeFee(Float trusteeFee) {
		this.trusteeFee = trusteeFee;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((description == null) ? 0 : description.hashCode());
		result = prime * result + ((trusteeFee == null) ? 0 : trusteeFee.hashCode());
		result = prime * result + ((trusteeId == null) ? 0 : trusteeId.hashCode());
		result = prime * result + ((trusteeName == null) ? 0 : trusteeName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Trustee other = (Trustee) obj;
		if (description == null) {
			if (other.description != null)
				return false;
		} else if (!description.equals(other.description))
			return false;
		if (trusteeFee == null) {
			if (other.trusteeFee != null)
				return false;
		} else if (!trusteeFee.equals(other.trusteeFee))
			return false;
		if (trusteeId == null) {
			if (other.trusteeId != null)
				return false;
		} else if (!trusteeId.equals(other.trusteeId))
			return false;
		if (trusteeName == null) {
			if (other.trusteeName != null)
				return false;
		} else if (!trusteeName.equals(other.trusteeName))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "trustee [trusteeId=" + trusteeId + ", trusteeName=" + trusteeName + ", trusteeFee=" + trusteeFee
				+ ", description=" + description + "]";
	}


	
	
	
	
	

}
